package com.wuyou;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * description
 * author 刘雷雨
 * date 2022/9/29 9:33
 * version 1.0
 **/
@SpringBootApplication
@MapperScan("com.wuyou.mapper")
@EnableDiscoveryClient
@EnableSwagger2
@EnableScheduling //开启任务调度的支持
public class AdvertiseServiceApp {

    public static void main(String[] args) {
        SpringApplication.run(AdvertiseServiceApp.class, args);
    }
}
